class TaskData {
  int id = 0;
  String title = "";
  int complete = 0;

  Map<String, dynamic> toMap() {
    return {
      'id': id,
      'title': title,
      'complete': complete,
    };
  }
}
